Optimal. Leaf size=13 \[ -\tanh ^{-1}\left (\sqrt {\cosh ^2(x)+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {3194, 63, 207} \[ -\tanh ^{-1}\left (\sqrt {\cosh ^2(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 207
Rule 3194
Rubi steps
\begin {align*} \int \frac {\tanh (x)}{\sqrt {1+\cosh ^2(x)}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,\cosh ^2(x)\right )\\ &=\operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+\cosh ^2(x)}\right )\\ &=-\tanh ^{-1}\left (\sqrt {1+\cosh ^2(x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 1.00 \[ -\tanh ^{-1}\left (\sqrt {\cosh ^2(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.49, size = 63, normalized size = 4.85 \[ \log \left (\frac {\sqrt {2} \sqrt {\frac {\cosh \relax (x)^{2} + \sinh \relax (x)^{2} + 3}{\cosh \relax (x)^{2} - 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2}}} - 2 \, \cosh \relax (x) - 2 \, \sinh \relax (x)}{\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} + 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tanh \relax (x)}{\sqrt {\cosh \relax (x)^{2} + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 12, normalized size = 0.92 \[ -\arctanh \left (\frac {1}{\sqrt {1+\cosh ^{2}\relax (x )}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tanh \relax (x)}{\sqrt {\cosh \relax (x)^{2} + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.08 \[ \int \frac {\mathrm {tanh}\relax (x)}{\sqrt {{\mathrm {cosh}\relax (x)}^2+1}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tanh {\relax (x )}}{\sqrt {\cosh ^{2}{\relax (x )} + 1}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________